package cn.net.shuxing.yifu.common.mapper;

import cn.net.shuxing.yifu.common.bean.DeclarationForm;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DeclarationFormMapper extends Mapper<DeclarationForm> {

    List<DeclarationForm> selectList(@Param("startPageOn") Integer startPageOn,@Param("pageSize") Integer pageSize,
                                     @Param("userId") Long userId,@Param("dealStatus") Integer dealStatus);

    DeclarationForm selectById(@Param("id") Long id);

    List<DeclarationForm> commList(@Param("startPageOn") Integer startPageOn, @Param("pageSize") Integer pageSize, @Param("userId") Long userId);

    Integer updateDealStatus(@Param("id") Long id,@Param("dealStatus") Integer dealStatus);
}
